Skip to content

Refine hanging trace DRC and add snapshot#91

Draft
seveibar wants to merge 1 commit intomainfrom
codex/add-drc-check-for-hanging-traces
Draft

Refine hanging trace DRC and add snapshot#91
seveibar wants to merge 1 commit intomainfrom
codex/add-drc-check-for-hanging-traces

Conversation

@seveibar
Copy link
Contributor

@seveibar seveibar commented Dec 3, 2025

Summary

  • use @tscircuit/math-utils onSegment to detect trace endpoints landing on other traces
  • capture a PCB SVG snapshot showing hanging trace errors for the branch trace case

Testing

  • BUN_UPDATE_SNAPSHOTS=1 bun test tests/lib/check-hanging-traces.test.ts
  • bunx tsc --noEmit
  • bun run format

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant